package com.lenovo.lcdm.integration.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lenovo.lcdm.integration.config.JsonTypeHandler;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName dcm_configuration_endpoint_config
 */
@TableName(value = "dcm_configuration_endpoint_config")
@Data
public class EndpointConfig implements Serializable {
    /**
     *
     */
    @TableId
    private Long id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String clusterName;

    /**
     *
     */
    private String description;

    /**
     *
     */
    private String integrationType;

    /**
     *
     */
    private String messageHandler;

    /**
     *
     */
    private String systems;

    /**
     *
     */
    private String middleware;

    /**
     *
     */
    @TableField(typeHandler = JsonTypeHandler.class)
    private Object connectionInfo;

    /**
     *
     */
    private String status;

    /**
     *
     */
    private String creator;

    /**
     *
     */
    private String modifier;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private Date modifyTime;

    /**
     *
     */
    private Integer deleted;

    /**
     *
     */
    private String version;

    /**
     *
     */
    private Integer iteration;

    /**
     *
     */
    private String topic;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}